package cn.hnh.service;

import cn.hnh.expection.OutofstockException;
import cn.hnh.expection.RepeatKillExpection;
import cn.hnh.pojo.Goods;
import cn.hnh.pojo.Order;

public interface GoodsService {
    public int InsertGoods(Goods goods);
    public Goods FindById(Integer id);
    public boolean ExecuteKill(Order order) throws RepeatKillExpection, OutofstockException;
}
